li = ["word java python","java word python"]
words = []

for t in li:
    w = t.split(" ")
    for i in w:
        words.append(i)
print(words)
s = {w for w in words}
print(s)
#
# print(words)
# wc = { w:1  for w in words }
# print(wc)


# li = [1,2,3,4,5]
# new_li = []
# for t in li:
#     if t % 2 == 0:
#         new_li.append(t)
# new_li = [t*10 for t in li if t%2==0]
# print(new_li)
l1=[1,2,3,4,5]
l2=[3,4,5,6,7]
# l3 = []
# for i in range(len(l1)):
#     l3.append(l1[i]+l2[i])
l3 = [l1[i]+l2[i]  for i in range(len(l1))]
print(l3)